Skip to content

Make wasm GIT_CORS_PROXY env var much more configurable#155

Merged
ianthomas23 merged 1 commit into
mainfrom
cors-proxy-2
May 14, 2026
Merged

Make wasm GIT_CORS_PROXY env var much more configurable#155
ianthomas23 merged 1 commit into
mainfrom
cors-proxy-2

Conversation

@ianthomas23
Copy link
Copy Markdown
Member

Make wasm GIT_CORS_PROXY env var much more configurable with a variety of substitutions for the url, host, api_key, etc. For example, for the public CORS proxy at https://corsproxy.io/ you could use:

export GIT_CORS_PROXY='https://corsproxy.io/?key={api_key}&url={url:encode}'
export GIT_CORS_PROXY_API_KEY=whatever

Needs rigorous downstream testing after merging. Documentation explaining the options will follow in a separate PR.

@ianthomas23 ianthomas23 added the enhancement New feature or request label May 13, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented May 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.52%. Comparing base (68ae681) to head (2aa0e5a).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #155      +/-   ##
==========================================
- Coverage   88.55%   88.52%   -0.04%     
==========================================
  Files          62       62              
  Lines        2884     2884              
  Branches      358      358              
==========================================
- Hits         2554     2553       -1     
- Misses        330      331       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ianthomas23 ianthomas23 merged commit d7d2008 into main May 14, 2026
6 of 7 checks passed
@ianthomas23 ianthomas23 deleted the cors-proxy-2 branch May 14, 2026 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant